package com.oig.auth.api.fallback;

import com.oig.auth.api.OpenUserService;
import com.oig.sys.auth.vo.OpenUserVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;


@Slf4j
public class OpenUserServiceFallbackImpl implements OpenUserService {

    @Setter
    private Throwable cause;

    @Override
    public OpenUserVo getUserById(Integer userId) {
        log.error("feign getUserById error ", cause);
        return null;
    }

}
